Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.search.ui.actions--filters

This contribution is part of XML component org.nuxeo.search.ui.actions inside nuxeo-search-ui-9.10.jar /OSGI-INF/search-actions-contrib.xml

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter append="true" id="rights">
          <rule grant="true">
            <facet>SavedSearch</facet>
          </rule>
        </filter>
  • <filter id="denyForDefaultSearch">
          <rule grant="false">
            <facet>DefaultSearch</facet>
          </rule>
        </filter>
  • <filter id="isSearchEnabled">
          <rule grant="true">
            <condition>#{userServicesContext.searchEnabled}</condition>
          </rule>
        </filter>
  • <filter id="nxqlSearchSelected">
          <rule grant="true">
            <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
          </rule>
        </filter>
  • <filter id="notNxqlSearchSelected">
          <rule grant="false">
            <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
          </rule>
        </filter>
  • <filter id="canSaveSearch">
          <rule grant="true">
            <condition>#{searchUIActions.getCanSaveSearch()}</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter append="true" id="rights">
      <rule grant="true">
        <facet>SavedSearch</facet>
      </rule>
    </filter>

    <filter id="denyForDefaultSearch">
      <rule grant="false">
        <facet>DefaultSearch</facet>
      </rule>
    </filter>

    <filter id="isSearchEnabled">
      <rule grant="true">
        <condition>#{userServicesContext.searchEnabled}</condition>
      </rule>
    </filter>

    <filter id="nxqlSearchSelected">
      <rule grant="true">
        <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
      </rule>
    </filter>

    <filter id="notNxqlSearchSelected">
      <rule grant="false">
        <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
      </rule>
    </filter>

    <filter id="canSaveSearch">
      <rule grant="true">
        <condition>#{searchUIActions.getCanSaveSearch()}</condition>
      </rule>
    </filter>

  </extension>